home *** CD-ROM | disk | FTP | other *** search
- -- card: 16062 from stack: in
- -- bmap block id: 16175
- -- flags: 0000
- -- background id: 5931
- -- name:
- ----- HyperTalk script -----
- on opencard
- global time1
- global Silver
- global Mercury
- global Lead
- global key
- put empty into bkgnd field "info"
- set the highlight of button "invert" to true
-
- end opencard
-
-
-
-
- on check
- global Silver
- global Mercury
- global Lead
- global reagent
- global route
- global score
- if reagent = "Potassium Dichromate" and lead = "lead" then
- go to card "yesLead"
- put "Result of Adding Potassium Dichromate" into line 1 of bkgnd field "info"
- put "Formation of Yellow Precipitate" into line 2 of bkgnd field "info"
- end if
-
- if reagent = "Potassium Dichromate" and lead <> "lead" then
- go to card "nolead"
- put "Result of Adding Potassium Dichromate" into line 1 of bkgnd field "info"
- put "No evidence of precipitate" into line 2 of bkgnd field "info"
- end if
-
- if reagent<> "Potassium Dichromate" then
- put score + 10 into score
-
- put empty into bkgnd field "info"
- put "Please Try Again" into line 1 of bkgnd field "info"
-
- put "or Examine Flow Chart" into line 2 of bkgnd field "info"
- repeat 2
- set the highlight of card button "flow Chart" to true
- wait 1 second
- set the highlight of card button "flow Chart" to false
- wait 1 second
- end repeat
-
- end if
-
- end check
-
-
-
-
- -- part 4 (field)
- -- low flags: 81
- -- high flags: 0004
- -- rect: left=0 top=20 right=178 bottom=387
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 21
- -- text size: 24
- -- style flags: 0
- -- line height: 32
- -- part name: note
-
-
- -- part 11 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=3 top=44 right=106 bottom=54
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Hydrochloric Acid
- ----- HyperTalk script -----
- on mouseUp
- global route
- global reagent
- global lastClick
-
- if the seconds - lastClick < 4 then exit mouseup
- else put the seconds into lastClick
- get the short name of me
- put it into reagent
- check
-
-
- end mouseUp
-
-
-
- -- part 12 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=64 top=44 right=106 bottom=115
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Nitric Acid
- ----- HyperTalk script -----
- on mouseUp
-
- global reagent
-
- global lastClick
-
- if the seconds - lastClick < 4 then exit mouseup
- else put the seconds into lastClick
- get the short name of me
- put it into reagent
- check
-
-
- end mouseUp
-
-
-
- -- part 13 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=125 top=44 right=106 bottom=176
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Distilled Water
- ----- HyperTalk script -----
- on mouseUp
-
- global reagent
- global lastClick
-
- if the seconds - lastClick < 4 then exit mouseup
- else put the seconds into lastClick
- get the short name of me
- put it into reagent
- check
-
-
- end mouseUp
-
-
-
- -- part 14 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=184 top=44 right=106 bottom=235
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Potassium Dichromate
- ----- HyperTalk script -----
- on mouseUp
- global route
- global reagent
- global lastClick
-
- if the seconds - lastClick < 4 then exit mouseup
- else put the seconds into lastClick
- get the short name of me
- put it into reagent
- check
-
-
- end mouseUp
-
-
-
- -- part 15 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=246 top=44 right=106 bottom=297
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Ammonia
- ----- HyperTalk script -----
- on mouseUp
- global route
- global reagent
- global lastClick
-
- if the seconds - lastClick < 4 then exit mouseup
- else put the seconds into lastClick
- get the short name of me
- put it into reagent
- check
-
-
- end mouseUp
-
-
-
- -- part 22 (field)
- -- low flags: 81
- -- high flags: 0000
- -- rect: left=389 top=212 right=283 bottom=507
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: hold
-
-
- -- part 29 (field)
- -- low flags: 81
- -- high flags: 0001
- -- rect: left=161 top=212 right=319 bottom=195
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: f
-
-
- -- part 36 (button)
- -- low flags: 00
- -- high flags: 8002
- -- rect: left=434 top=205 right=254 bottom=509
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Flow Chart
- ----- HyperTalk script -----
- on mouseUp
- push card
- go to card id 7591
- put 1 into zz
- repeat until zz = 4
- set the highlight of card button step3 to true
- wait 30
- set the highlight of card button step3 to false
- wait 30
- put zz+1 into zz
- end repeat
-
- end mouseUp
-
-
-
- -- part 37 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=433 top=5 right=95 bottom=511
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: cv
- ----- HyperTalk script -----
-
-
- on mouseUp
- Put empty into card field "message"
- show card field "message"
- put "Check Flow Chart" into line 1 of card field "message"
- Put "Centrifuge not used " into line 3 of card field "message"
- put "at this time" into line 5 of card field "message"
- wait 2 seconds
- hide card field "message"
-
-
-
- end mouseUp
-
-
-
-
- -- part 38 (field)
- -- low flags: 81
- -- high flags: 0004
- -- rect: left=1 top=112 right=205 bottom=390
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 3
- -- text size: 14
- -- style flags: 256
- -- line height: 18
- -- part name: Message
- ----- HyperTalk script -----
- on mouseup
- hide card field "message"
- end mouseup
-
-
-
- -- part 39 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=434 top=112 right=198 bottom=504
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Hot Water Bath
- ----- HyperTalk script -----
- on mouseUp
-
-
- Put empty into card field "message"
- show card field "message"
- put "Check Flow Chart" into line 1 of card field "message"
- Put "Hot Water Bath not used " into line 3 of card field "message"
- put "at this time" into line 5 of card field "message"
- wait 2 seconds
- hide card field "message"
-
-
- end mouseUp
-
-
-
- -- part 40 (field)
- -- low flags: 81
- -- high flags: 0004
- -- rect: left=0 top=7 right=206 bottom=416
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 21
- -- text size: 18
- -- style flags: 0
- -- line height: 24
- -- part name: info
-
-
- -- part 41 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=0 top=115 right=172 bottom=383
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: cv2
-
-
- -- part 42 (button)
- -- low flags: 00
- -- high flags: 4000
- -- rect: left=10 top=188 right=324 bottom=181
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: invert
- ----- HyperTalk script -----
- on mouseUp
-
- end mouseUp
-
-
-
- -- part contents for card part 4
- ----- text -----
- Please Wait While
- Computer Selects
- an Unknown for You
- to Analyze
-
- -- part contents for card part 40
- ----- text -----
- Please Select next Reagent
-
- -- part contents for card part 38
- ----- text -----
- Check Flow Chart
-
- Centrifuge not used
-
- at this time
-
- -- part contents for background part 8
- ----- text -----
- Please Select next Reagent